package com.hdcircles.autoform.presenter.contract;

import com.hdcircles.autoform.base.BasePresenter;
import com.hdcircles.autoform.base.BaseView;
import com.hdcircles.autoform.model.bean.User;

/**
 * Created by hdcircles on 2016/11/16.
 */

public interface UserContract {

    interface View extends BaseView{

        void showUser(User user);

        void editUserSuccess(String msg);

        void notifyChange();
    }

    interface Presenter extends BasePresenter<View>{

        void getUser(String email);

        void editUser(User user);

        void uploadImage(String path,User user);
    }

}
